#pragma once
#ifndef _JUNCTION_H_
#define _JUNCTION_H_

#include"Connection.h"

namespace OpenDrive {

	class Junction
	{
	public:
		Junction(std::string id, std::string name = "");
		~Junction();
		void addConnections(const Connection &connection);

		 std::vector<Connection>& getConnections();
				
		std::string getId()const;
		
		std::string getName() const;
	private:
		std::string id;
		std::string name;
		std::vector<Connection> connections;
	};

}

#endif // !_JUNCTION_H_
